home *** CD-ROM | disk | FTP | other *** search
/ Magnum One / Magnum One (Mid-American Digital) (Disc Manufacturing).iso / d16 / wc15_b.arc / SESSEDIT.WMS < prev    next >
Text File  |  1991-03-22  |  7KB  |  206 lines

  1. ;Session Editor tour
  2.  
  3.  
  4. STOP
  5. CLEAR
  6. alt = 1         ;Sets up constants (ctrl key codes) for use by the
  7. tab = 9         ;SENDSPECKEY statement.
  8. down = 40
  9.  
  10.  
  11. SHOW(1)         ;Maximizes the WinComm Window
  12.  
  13. lenth = 1
  14.  
  15.    DIALOGBOX 63, 20, 243, 87, 21, "Session Editor Guided Tour"
  16.       LTEXT 9, 6, 230, 24, "This Macro will take you on a guided tour of the Session Editor.  The Session Editor is used to create and edit Session Files that WinComm uses for operation.  The tour will run automatically - or -"
  17.       LTEXT 9, 30, 230, 17, "you can speed things up by pressing Enter or clicking on the [OK] button on each tour dialog box."
  18.       DEFCANCELBUTTON 96, 61, 50, 15, "&OK"
  19.    DEND
  20. dtime = 15
  21. GOSUB delay
  22.  
  23.  
  24.    DIALOGBOX 68, 20, 238, 89, 21,  "Session Editor Demonstration"
  25.       LTEXT 7, 6, 230, 25, "The Macro will now open the Session Editor using the File|Edit Session menu item.  Since WinComm is actually running any keyboard or mouse entries other than selecting the[OK] buttons"
  26.       LTEXT 7, 30, 230, 21, "on the tour dialog boxes will throw the tour 'out of sync' so please refrain from doing so."
  27.       DEFCANCELBUTTON 93, 63, 50, 15, "&OK"
  28.    DEND
  29. dtime = 15
  30. GOSUB delay
  31.  
  32.   SENDSPECKEY(alt,0,asc("F"))
  33.   SENDSPECKEY(0,0,asc("E"))
  34.   SENDSPECKEY(alt,0,asc("E"))
  35.  
  36.    DIALOGBOX 108, 3, 145, 98, 16
  37.       CTEXT 7, 9, 7, 9, "<"
  38.       CTEXT 7, 21, 7, 9, "<"
  39.       LTEXT 20, 5, 121, 26, "The Type: option group shows or allows selection of a Session File type."
  40.       DEFPUSHBUTTON 48, 77, 48, 14, "&OK"
  41.       LTEXT 21, 42, 108, 33, "The Files: list box shows the Session file loaded in the Editor or allows selection of a Session File to edit."
  42.    DEND
  43. dtime = 15
  44. GOSUB delay
  45.  
  46.    DIALOGBOX 108, 45, 145, 65, 16
  47.       CTEXT 7, 9, 7, 9, "<"
  48.       CTEXT 7, 21, 7, 9, "<"
  49.       LTEXT 20, 5, 121, 33, "The Session Notes section allows you to enter approximately 40 characters to describe the Session File."
  50.       DEFPUSHBUTTON 47, 44, 48, 14, "&OK"
  51.    DEND
  52. dtime = 15
  53. GOSUB delay
  54.  
  55.    DIALOGBOX 108, 84, 145, 65, 16
  56.       CTEXT 7, 9, 7, 9, "<"
  57.       CTEXT 7, 21, 7, 9, "<"
  58.       LTEXT 20, 5, 121, 33, "The pushbutton group allows you to save and rename Session Files and exit the Session Editor."
  59.       DEFPUSHBUTTON 47, 44, 48, 14, "&OK"
  60.    DEND
  61. dtime = 15
  62. GOSUB delay
  63.  
  64.    DIALOGBOX 108, 125, 145, 98, 16
  65.       CTEXT 7, 13, 7, 9, "<"
  66.       CTEXT 7, 45, 7, 9, "<"
  67.       CTEXT 7, 78, 7, 9, "<"
  68.       LTEXT 20, 5, 121, 33, "The Session Options radio button group is used to change the view in the option edit window."
  69.       DEFPUSHBUTTON 46, 75, 48, 14, "&OK"
  70.       LTEXT 20, 38, 108, 34, "When one of these buttons is pressed the view changes showing controls to modify all Session File variables"
  71.    DEND
  72. dtime = 15
  73. GOSUB delay
  74.  
  75.  
  76.    DIALOGBOX 102, 88, 238, 78, 16
  77.       CTEXT 5, 4, 220, 8, "Session Editor-Quick Setup  See below"
  78.       LTEXT 6, 14, 228, 25, "This area in the Session Editor allows the operator to set the comm port, connection type, baud rate, protocol, and modem type."
  79.       LTEXT 6, 38, 228, 18, "These are generally the only settings that WinComm needs to operate."
  80.       DEFPUSHBUTTON 95, 55, 50, 15, "&OK"
  81.    DEND
  82. dtime = 15
  83. GOSUB delay
  84.  
  85.    DIALOGBOX 102, 167, 229, 55, 16
  86.       CTEXT 43, 4, 144, 8, "Terminal Session Parameters"
  87.       LTEXT 5, 12, 219, 27, "This is the default option edit Window for a Terminal Session.  By entering the data here and in the Quick Setup area WinComm can usually go on line immediately."
  88.       DEFPUSHBUTTON 89, 36, 50, 15, "&OK"
  89.       CTEXT 29, 5, 6, 7, "^"
  90.       CTEXT 192, 5, 6, 7, "^"
  91.    DEND
  92. dtime = 15
  93. GOSUB delay
  94.  
  95. SENDSPECKEY(0,0,down)
  96.  
  97.    DIALOGBOX 102, 167, 229, 55, 16
  98.       CTEXT 43, 4, 144, 8,"Communications Settings"
  99.       LTEXT 5, 12, 219, 27,"The Communication Settings option edit window will give you additional control of your computers comm port settings."
  100.       DEFPUSHBUTTON 89, 36, 50, 15, "&OK"
  101.       CTEXT 29, 5, 6, 7, "^"
  102.       CTEXT 192, 5, 6, 7, "^"
  103. dend
  104. dtime = 25
  105. GOSUB delay
  106.  
  107. SENDSPECKEY(0,0,down)
  108.  
  109.    DIALOGBOX 102, 167, 229, 55, 16
  110.       CTEXT 76, 4, 87, 8, "Modem Settings"
  111.       LTEXT 5, 12, 228, 25, "This option window provides WinComm with the information it needs to communicate with your modem.  The entries here come from the modem you selected in Quick Setup."
  112.       DEFPUSHBUTTON 94, 36, 50, 15, "&OK"
  113.       CTEXT 29, 5, 6, 7, "^"
  114.       CTEXT 192, 5, 6, 7, "^"
  115.    DEND
  116. dtime = 25
  117. GOSUB delay
  118.  
  119. SENDSPECKEY(0,0,down)
  120.  
  121.    DIALOGBOX 102, 167, 229, 55, 16
  122.       CTEXT 43, 4, 144, 8, "Terminal Setup"
  123.       LTEXT 5, 12, 219, 23, "The Terminal Setup allows you to change the way some incoming characters are handled that modify the operation of the selected terminal emulation."
  124.       DEFPUSHBUTTON 90, 36, 50, 15, "&OK"
  125.       CTEXT 29, 5, 6, 7, "^"
  126.       CTEXT 192, 5, 6, 7, "^"
  127.    DEND
  128. dtime = 25
  129. GOSUB delay
  130.  
  131. SENDSPECKEY(0,0,down)
  132.  
  133.    DIALOGBOX 102, 167, 229, 55, 16
  134.       CTEXT 43, 4, 144, 8,"Capture File Settings"
  135.       LTEXT 5, 12, 219, 27,"This view of the option edit display allows you to establish how you want to want to save characters in the Capture File."
  136.       DEFPUSHBUTTON 89, 36, 50, 15, "&OK"
  137.       CTEXT 29, 5, 6, 7, "^"
  138.       CTEXT 192, 5, 6, 7, "^"
  139.    DEND
  140. dtime = 25
  141. GOSUB delay
  142.  
  143. SENDSPECKEY(0,0,down)
  144.  
  145.    DIALOGBOX 102, 167, 229, 55, 16
  146.       CTEXT 43, 4, 144, 8,"ASCII Send Settings"
  147.       LTEXT 5, 12, 219, 27,"This view on the option edit display allows you to adjust the way WinComm sends ASCII text using the File|Send ASCII menu option.  "
  148.       DEFPUSHBUTTON 89, 36, 50, 15, "&OK"
  149.       CTEXT 29, 5, 6, 7, "^"
  150.       CTEXT 192, 5, 6, 7, "^"
  151.    DEND
  152. dtime = 25
  153. GOSUB delay
  154.  
  155. SENDSPECKEY(0,0,down)
  156.  
  157.    DIALOGBOX 102, 167, 229, 55, 16
  158.       CTEXT 43, 4, 144, 8,"Function Keys"
  159.       LTEXT 5, 12, 219, 27,"This view of the option edit display allows you to assign text to be transmitted or a Macro to run when a function key is pressed."
  160.       DEFPUSHBUTTON 89, 36, 50, 15, "&OK"
  161.       CTEXT 29, 5, 6, 7, "^"
  162.       CTEXT 192, 5, 6, 7, "^"
  163.    DEND
  164. dtime = 25
  165. GOSUB delay
  166.  
  167. SENDSPECKEY(0,0,down)
  168.  
  169.    DIALOGBOX 102, 167, 229, 55, 16
  170.       CTEXT 43, 4, 144, 8,"Display Settings"
  171.       LTEXT 5, 12, 219, 27,"This view of the option edit display allows setting of the way the WinComm display will appear and other operational parameters."
  172.       DEFPUSHBUTTON 89, 36, 50, 15, "&OK"
  173.       CTEXT 29, 5, 6, 7, "^"
  174.       CTEXT 192, 5, 6, 7, "^"
  175.    DEND
  176.  
  177. dtime = 25
  178.  
  179. GOSUB delay
  180.  
  181.    DIALOGBOX 57, 54, 234, 70, 17
  182.       CTEXT 27, 5, 186, 8, "WinComm Session Editor"
  183.       LTEXT 5, 13, 224, 33, "This ends the Session Editor Tour.  Don't let the many options that are available in the Session Editor bother you.  Chances are you will not need to use 95% of them- - - -just be thankful they are if you do!"
  184.       DEFPUSHBUTTON 95, 47, 50, 15, "&OK"
  185.    DEND
  186. dtime = 5
  187. GOSUB delay
  188.  
  189. GOTO leave  
  190.  
  191. delay:
  192. i = TIME?+dtime
  193. do
  194. j = DIALOG?
  195. if(PROMPT? == 2) GOTO leave
  196. UNTIL((TIME?>i) || (j != 255))
  197.    IF(j == 255) DESTROYDLG
  198. RETURN
  199.  
  200. leave:
  201. SENDSPECKEY(alt,0,asc("X"))
  202. SENDSPECKEY(0,0,asc("Y"))
  203. END
  204.  
  205.  
  206.